<?xml version="1.0" encoding="utf-8" ?>
<container xmlns="http://symfony.com/schema/dic/services"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xmlns:framework="http://symfony.com/schema/dic/symfony"
           xsi:schemaLocation="http://symfony.com/schema/dic/services https://symfony.com/schema/dic/services/services-1.0.xsd
        http://symfony.com/schema/dic/symfony https://symfony.com/schema/dic/symfony/symfony-1.0.xsd">

    <framework:config http-method-override="false" handle-all-throwables="true">
        <framework:annotations enabled="false" />
        <framework:php-errors log="true" />
        <framework:serializer enabled="true" />
        <framework:messenger>
            <framework:serializer default-serializer="messenger.transport.symfony_serializer" />
            <framework:routing message-class="Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Messenger\DummyMessage">
                <framework:sender service="invalid" />
            </framework:routing>
            <framework:routing message-class="Symfony\Bundle\FrameworkBundle\Tests\Fixtures\Messenger\SecondMessage">
                <framework:sender service="amqp" />
                <framework:sender service="audit" />
            </framework:routing>
            <framework:transport name="amqp" dsn="amqp://localhost/%2f/messages" />
        </framework:messenger>
    </framework:config>
</container>
